package com.qfedu.aunt.commons.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 培训内容表
 * </p>
 *
 * @author xiaobobo
 * @since 2022-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_content")
@ApiModel(value="Content对象", description="培训内容表")
public class Content implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "content_id", type = IdType.ID_WORKER_STR)
    private String contentId;

    @ApiModelProperty(value = "培训内容图片")
    private String contentImage;

    @ApiModelProperty(value = "培训内容简介")
    private String contentIntroduction;

    @ApiModelProperty(value = "培训分类ID")
    private String trainingId;

    @ApiModelProperty(value = "培训内容的详情（URL地址）")
    private String contentUrl;

    @ApiModelProperty(value = "创建时间")
    private Date contentCreateTime;

    @ApiModelProperty(value = "更新时间")
    private Date contentUpdateTime;

    @ApiModelProperty(value = "删除标记")
    private Integer contentDeleted;

    @ApiModelProperty(value = "离线乐观锁")
    private Integer contentVersion;


}
